import request from '~/utils/request'

export default{

  sendSMS(mobile) {
    return request({
      url: `/api/aliyun/sms/sendSms/${mobile}`,
      method: 'post'
    })
  },

  register(obj) {
    return request({
      url: `/api/user/center/register`,
      method: 'post',
      data: obj
    })
  }
}
